<!--
See http://developer.yahoo.com/ypatterns/pattern.php?pattern=searchpagination
-->
<?php if ($this->pageCount > 1): ?>
	
	<ul class="sm_paging">
		<!-- Previous page link -->
		<?php if (isset($this->previous)): ?>
			<li>	
				<a href="<?php echo $this->pageUrl(array_merge(array('page' => $this->previous), $this->query)); ?>">
					Previous
				</a> </li>
		<?php else: ?>
			<li class="disabled">Previous</li>
		<?php endif; ?>
		<!-- Next page link -->
		<?php if (isset($this->next)): ?>
			<li><a href="<?php echo $this->pageUrl(array_merge(array('page' => $this->next), $this->query)); ?>">
					Next
				</a>
			</li>
		<?php else: ?>
			<li class="disabled">Next</li>
		<?php endif; ?>
	</ul>
<?php else: ?>
	<ul class="sm_paging">&nbsp;</ul>
<?php endif; ?>